package com.lyr.lock;

public class Client2 extends Thread{
    private Bank bank;

    public Client2(String name, Bank bank) {
        super(name);
        this.bank = bank;
    }

    @Override
    public void run() {
        this.bank.ask();
    }
}
